package usbcali.edu.persistencia.control;

import usbcali.edu.persistencia.ProSerOfrecen;
import usbcali.edu.persistencia.ProSerOfrecenId;

import java.math.BigDecimal;

import java.util.*;


/**
 * interface ProSerOfrecenLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IProSerOfrecenLogic {
    public List<ProSerOfrecen> getProSerOfrecen() throws Exception;

  /*  public void saveProSerOfrecen(String codProvee, String codSerO,
        String codProvee_Proveedores, String codSerO_SerOfrecen)
        throws Exception;*/
    
    public void saveProSerOfrecen(String codProvee, String codSerO)
    throws Exception;

    public void deleteProSerOfrecen(String codProvee, String codSerO)
        throws Exception;

    public void updateProSerOfrecen(String codProvee, String codSerO,
        String codProvee_Proveedores, String codSerO_SerOfrecen)
        throws Exception;

    public ProSerOfrecen getProSerOfrecen(ProSerOfrecenId id)
        throws Exception;

    public List<ProSerOfrecen> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<ProSerOfrecen> findPageProSerOfrecen(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberProSerOfrecen() throws Exception;
}
